<template>
	<view class="pay-page">
		<u-navbar title="创建下线" :placeholder="true" :auto-back="true"></u-navbar>
		<view class="list">
			<view class="item">
				<view class="item-title">
					账号
				</view>
				<u--input placeholder="请输入账号" border="none" v-model="account"></u--input>
			</view>
			<view class="item">
				<view class="item-title">
					用户名
				</view>
				<u--input placeholder="请输入用户名" border="none" v-model="name"></u--input>
			</view>
			<view class="item">
				<view class="item-title">
					可创下线数量
				</view>
				<u--input placeholder="请输入可创下线数量" border="none" v-model="num"></u--input>
			</view>
			<view class="item">
				<view class="item-title">
					可进货
				</view>
				<u-switch v-model="enter_goods"></u-switch>
			</view>
			<view class="item">
				<view class="item-title">
					可提现
				</view>
				<u-switch v-model="isWithdrawal"></u-switch>
			</view>
			<view class="item">
				<view class="item-title">
					信箱
				</view>
				<u--input placeholder="请输入信箱" border="none" v-model="mail"></u--input>
			</view>
			<view class="item">
				<view class="item-title">
					电话
				</view>
				<u--input placeholder="请输入电话" border="none" v-model="iphone"></u--input>
			</view>
			<view class="item">
				<view class="item-title">
					QQ
				</view>
				<u--input placeholder="请输入QQ" border="none" v-model="qq"></u--input>
			</view>
			<view class="item">
				<view class="item-title">
					微信
				</view>
				<u--input placeholder="请输入微信" border="none" v-model="vx"></u--input>
			</view>
		</view>
		<view class="btn">
			<u-button color="#28D4EC" type="primary"
				text="提交"></u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				account: '',
				name: '',
				num: '',
				enter_goods: false,
				isWithdrawal: false,
				mail:'',
				iphone:'',
				qq:'',
				vx:'',
			}
		}
	}
</script>

<style lang="scss" scoped>
	.pay-page {
		min-height: 100vh;
		background-image: url('../../../static/home/page-bg.png');
		background-repeat: no-repeat;
		background-size: 100% 100%;
		padding: 30rpx;

		.list {
			padding: 10rpx 30rpx 20rpx 30rpx;
			border-radius: 30rpx;
			background-color: #ffffff;

			.item {
				display: flex;
				align-items: center;
				margin-top: 20rpx;
				border-bottom: 1rpx solid #eeeeee;
				padding-bottom: 20rpx;

				.item-title {
					width: 200rpx;
					font-size: 26rpx;
				}
			}
		}
		.btn {
			margin-top: 40rpx;
		}
	}
</style>